package com.ndp.fb.rdb.api;

import com.ndp.fb.rdb.model.EntrustAccountConnectionObjects;

import java.util.List;

/**
 * Created by Elvis.Xiong on 2015/3/31.
 */
public interface EntrustAccountConnectionObjectsRdbService {

    List<Long> batchDeleteEntrustAccountConnectionObjects(List<EntrustAccountConnectionObjects> list);


    Integer saveEntrustAccountConnectionObject(EntrustAccountConnectionObjects entrustAccountConnectionObjects);

    EntrustAccountConnectionObjects findEntrustAccountConnectionObjectByFbAccountIdAndFbConnectionObjectId(Long fbAccountId,Long fbConnectionObjectId);
     
    List<EntrustAccountConnectionObjects> findEntrustAccountConnectionObjectByFbAccountId(Long fbAccountId);

    List<EntrustAccountConnectionObjects> findEntrustAccountsByFbConnectionObjectId(String userId,Long orgId,Long fbconnectionObjectId);
}
